
<%@ page import="org.bjou.UserBaseinfo" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="pertho">
		<g:set var="entityName" value="${message(code: 'userBaseinfo.group.label', default: 'UserBaseinfo')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<div class="container">
    <div class="row">
      <div class="twelve columns">
        
       
        <div class="box_c">

          <div class="box_c_heading cf">
            <p>选择应聘教师</p>
          </div>
          <div class="box_c_content">
            <g:form method="post" >
		  <!--start-->
		<div id="list-userBaseinfo" class="content scaffold-list" role="main">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
                                                <th>选择</th>
						<g:sortableColumn property="fullname" title="${message(code: 'userBaseinfo.fullname.label', default: '姓名')}" />
					
						<g:sortableColumn property="gentle" title="${message(code: 'userBaseinfo.gentle.label', default: '性别')}" />
					
						<g:sortableColumn property="email" title="${message(code: 'userBaseinfo.email.label', default: '邮件')}" />
					
						<g:sortableColumn property="idCard" title="${message(code: 'userBaseinfo.idCard.label', default: '身份证')}" />
					
						<g:sortableColumn property="userGroup.groupName" title="${message(code: 'userBaseinfo.userGroup.label', default: '所属系部')}" />
					
						<g:sortableColumn property="mobile" title="${message(code: 'userBaseinfo.mobile.label', default: '手机')}" />
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${userBaseinfoInstanceList}" status="i" var="userBaseinfoInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
                                                <td><g:checkBox class="checkbox" name="userBaseinfo.id" value="${userBaseinfoInstance.id}"  checked="false"/></td>     

					
						<td><g:link action="show" id="${userBaseinfoInstance.id}">${fieldValue(bean: userBaseinfoInstance, field: "fullname")}</g:link></td>
					
						<td>${fieldValue(bean: userBaseinfoInstance, field: "gentle")}</td>
					
						<td>${fieldValue(bean: userBaseinfoInstance, field: "email")}</td>
					
						<td>${fieldValue(bean: userBaseinfoInstance, field: "idCard")}</td>
					
						<td>${fieldValue(bean: userBaseinfoInstance, field: "userGroup.groupName")}</td>
					
						<td>${fieldValue(bean: userBaseinfoInstance, field: "mobile")}</td>
					
					</tr>
				</g:each>
				</tbody>
			</table>
			<div class="pagination">
				<g:paginate total="${userBaseinfoInstanceTotal}" />
			</div>
			    <fieldset class="buttons">
                  
                    <g:hiddenField name="courseName" value="${jobInstance?.courseName}" />
                    <g:hiddenField name="majorLevel" value="${jobInstance?.majorLevel}" />
                    <g:hiddenField name="courseProperty" value="${jobInstance?.courseProperty}" />
                    <g:hiddenField name="courseType" value="${jobInstance?.courseType}" />
                    <g:hiddenField name="examType" value="${jobInstance?.examType}" />
                  <g:actionSubmit class="gh_button" action="savechoose" value="选择教师"  />
                  <a href="#" onclick="javascript:history.back(-1);return false;" class="gh_button list">返回</a>
                </fieldset>
            
            </div>
                  </g:form>
          </div>
        </div>
      </div>
    </div>
	</body>
</html>
